<?xml version="1.0" encoding="UTF-8" ?>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>${view.title}</title>
<link rel="stylesheet" href="<c:url value="/"/>css/style.css" type="text/css" />
</head>
<body>
<div id="divcenter">
<div id="left">
<div id="navBar">
<img src="<c:url value="/"/>images/left_logo.gif" alt="logo" />
<div id="left_topimg"></div>
<div id="sectionLinks">
<ul>
<c:if test="${fn:length(view.popularList) > 6}">
<c:forEach items="${view.popularList}" var="tourContent" begin="1" end="6">
	<li><a class="red" href="<c:url value="/"/>detail.html?id=${tourContent.id}">${tourContent.subject}</a></li>
</c:forEach>
<c:forEach items="${view.popularList}" var="tourContent" begin="7">
	<li><a href="<c:url value="/"/>detail.html?id=${tourContent.id}">${tourContent.subject}</a></li>
</c:forEach>
</c:if>
<c:if test="${fn:length(view.popularList) <= 6}">
<c:forEach items="${view.popularList}" var="tourContent">
	<li><a class="red" href="<c:url value="/"/>detail.html?id=${tourContent.id}">${tourContent.subject}</a></li>
</c:forEach>
</c:if>
</ul>
</div>
<img src="<c:url value="/"/>images/left_tel.gif" alt="电话" />
<img src="<c:url value="/"/>images/left_mail.gif" alt="邮件" />
</div>
<!--end navBar div -->
<div id="content">
<div id="top_menu">
<ul>
	<li><a href="<c:url value="/"/>type.html?tourType=${view.tourType}&&language=zh_CN">${view.menuView.chinese}</a></li>
	<li><a href="<c:url value="/"/>type.html?tourType=${view.tourType}&&language=en">${view.menuView.english}</a></li>
</ul>
</div>
<div id="menu">
<ul id="GlobalNavi">
	<li><span class="home"><a href="/index.html">${view.menuView.home}</a></span></li>
	<li><span class="zhoubian"><a href="/type.html?tourType=ZHOU_BIAN">${view.menuView.zhouBian}</a></span></li>
	<li><span class="guonei"><a href="/type.html?tourType=GUO_NEI">${view.menuView.guoNei}</a></span></li>
	<li><span class="chujing"><a href="/type.html?tourType=CHU_JING">${view.menuView.chuJing}</a></span></li>
	<li><span class="hotel"><a href="/type.html?tourType=JIU_DIAN">${view.menuView.jiuDian}</a></span></li>
	<li><span class="jingdian"><a href="/type.html?tourType=JING_DIAN">${view.menuView.jingDian}</a></span></li>
	<li><span class="tuozhan"><a href="/type.html?tourType=TRAINING">${view.menuView.training}</a></span></li>
	<li><span class="anli"><a href="/type.html?tourType=AN_LI">${view.menuView.anLi}</a></span></li>
</ul>
</div>
<div id="ad1"><a href="<c:url value="/"/>detail.html?id=${view.ad.id}"><img src="<c:url value="/"/>${view.ad.adImageUrl}"/></a></div>
<c:forEach items="${view.categoryMap}" var="category">
<div id="title_blue">
<div align="left">${category.key}</div>
<c:forEach items="${category.value}" var="tourContent">
<div class="type_content">
<a href="<c:url value="/"/>detail.html?id=${tourContent.id}">${tourContent.subject}</a>
</div>
</c:forEach>
<div align="right">
<form action="<c:url value="/"/>tour_category.html" method="post">
<input type="hidden" name="category" value="${category.key}"/>
<input type="submit" value="更多"/>
</form>
</div>
</div>
</c:forEach>
</div>
<div id="information">
<img src="<c:url value="/"/>images/information.gif" alt="information" />
</div>
<div class="footer_img"></div>
<div class="footer_txt">公司地址：海淀区复兴路甲63号 邮政编码:100036 <br />
 版权所有：我要旅游网<br />
北京世纪崇光国际旅行社有限公司 许可证号：L—BJ—GJ00219</div>
</div>
<!--end content -->
<div id="headlines">
<div id="head_img"></div>
<a href="msnim:chat?contact=${chat.msn}" target="blank"><img border="0" src="<c:url value="/"/>images/right_icon1.gif" alt="MSN" /></a>
<a href="tencent://message/?uin=${chat.qq1}&amp;Menu=yes" target="blank"><img border="0" src="<c:url value="/"/>images/right_icon2.gif" alt="QQ" /></a>
<a href="tencent://message/?uin=${chat.qq2}&amp;Menu=yes" target="blank"><img border="0" src="<c:url value="/"/>images/right_icon2.gif" alt="QQ" /></a>
</div>
<br/>
</div>
</body>
</html>